package paidaxing.blog.user.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

// blog-user/src/main/java/paidaxing/blog/user/dto/request/LoginRequest.java
/**
 * 用户登录传递的DTO
 *
 * @author heefM
 * @date 2025-10-18
 */
@Data
public class LoginRequest {
    @NotBlank(message = "用户名不能为空")
    private String username;
    
    @NotBlank(message = "密码不能为空") 
    private String password;
    
    // 可选：验证码等登录扩展字段
    private String captcha;
    private String captchaKey;
}